<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>0.9.9 API documenation: quaternion.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">0.9.9 API documenation
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_98f7f9d41f9d3029bd68cf237526a774.html">Source</a></li><li class="navelem"><a class="el" href="dir_9344afb825aed5e2f5be1d2015dde43c.html">G-Truc</a></li><li class="navelem"><a class="el" href="dir_45973f864e07b2505003ae343b7c8af7.html">glm</a></li><li class="navelem"><a class="el" href="dir_304be5dfae1339a7705426c0b536faf2.html">glm</a></li><li class="navelem"><a class="el" href="dir_e8f3c1046ba4b357711397765359cd18.html">gtx</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">gtx/quaternion.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="a00219.html">GLM_GTX_quaternion</a>  
<a href="#details">More...</a></p>

<p><a href="a00084_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8639615408166d0dddda1b91a940b338"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga8639615408166d0dddda1b91a940b338"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga8639615408166d0dddda1b91a940b338">cross</a> (tquat&lt; T, Q &gt; const &amp;q, vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga8639615408166d0dddda1b91a940b338"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a cross product between a quaternion and a vector.  <a href="a00219.html#ga8639615408166d0dddda1b91a940b338">More...</a><br /></td></tr>
<tr class="separator:ga8639615408166d0dddda1b91a940b338"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa75ca5654e0dc3b61c05db091f7d46ce"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gaa75ca5654e0dc3b61c05db091f7d46ce"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gaa75ca5654e0dc3b61c05db091f7d46ce">cross</a> (vec&lt; 3, T, Q &gt; const &amp;v, tquat&lt; T, Q &gt; const &amp;q)</td></tr>
<tr class="memdesc:gaa75ca5654e0dc3b61c05db091f7d46ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a cross product between a vector and a quaternion.  <a href="a00219.html#gaa75ca5654e0dc3b61c05db091f7d46ce">More...</a><br /></td></tr>
<tr class="separator:gaa75ca5654e0dc3b61c05db091f7d46ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72275e87ce62dc75a06d39a6c049835c"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga72275e87ce62dc75a06d39a6c049835c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga72275e87ce62dc75a06d39a6c049835c">exp</a> (tquat&lt; T, Q &gt; const &amp;q)</td></tr>
<tr class="memdesc:ga72275e87ce62dc75a06d39a6c049835c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a exp of a quaternion.  <a href="a00219.html#ga72275e87ce62dc75a06d39a6c049835c">More...</a><br /></td></tr>
<tr class="separator:ga72275e87ce62dc75a06d39a6c049835c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga312385d0a8caa24c1daaa1d00ce4c2d3"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga312385d0a8caa24c1daaa1d00ce4c2d3"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga312385d0a8caa24c1daaa1d00ce4c2d3">extractRealComponent</a> (tquat&lt; T, Q &gt; const &amp;q)</td></tr>
<tr class="memdesc:ga312385d0a8caa24c1daaa1d00ce4c2d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract the real component of a quaternion.  <a href="a00219.html#ga312385d0a8caa24c1daaa1d00ce4c2d3">More...</a><br /></td></tr>
<tr class="separator:ga312385d0a8caa24c1daaa1d00ce4c2d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac5c77bc74dfc750aaf271d68f271bf2b"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gac5c77bc74dfc750aaf271d68f271bf2b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gac5c77bc74dfc750aaf271d68f271bf2b">fastMix</a> (tquat&lt; T, Q &gt; const &amp;x, tquat&lt; T, Q &gt; const &amp;y, T const &amp;a)</td></tr>
<tr class="memdesc:gac5c77bc74dfc750aaf271d68f271bf2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Quaternion normalized linear interpolation.  <a href="a00219.html#gac5c77bc74dfc750aaf271d68f271bf2b">More...</a><br /></td></tr>
<tr class="separator:gac5c77bc74dfc750aaf271d68f271bf2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9be2084562a52ae8923813233563a28"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gac9be2084562a52ae8923813233563a28"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gac9be2084562a52ae8923813233563a28">intermediate</a> (tquat&lt; T, Q &gt; const &amp;prev, tquat&lt; T, Q &gt; const &amp;curr, tquat&lt; T, Q &gt; const &amp;next)</td></tr>
<tr class="memdesc:gac9be2084562a52ae8923813233563a28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an intermediate control point for squad interpolation.  <a href="a00219.html#gac9be2084562a52ae8923813233563a28">More...</a><br /></td></tr>
<tr class="separator:gac9be2084562a52ae8923813233563a28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga229bacc3051770b030042fe266f7b0cb"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga229bacc3051770b030042fe266f7b0cb"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga229bacc3051770b030042fe266f7b0cb">length2</a> (tquat&lt; T, Q &gt; const &amp;q)</td></tr>
<tr class="memdesc:ga229bacc3051770b030042fe266f7b0cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the squared length of x.  <a href="a00219.html#ga229bacc3051770b030042fe266f7b0cb">More...</a><br /></td></tr>
<tr class="separator:ga229bacc3051770b030042fe266f7b0cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad510f1a4ea26994b341c094ec4f4eed"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gaad510f1a4ea26994b341c094ec4f4eed"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gaad510f1a4ea26994b341c094ec4f4eed">log</a> (tquat&lt; T, Q &gt; const &amp;q)</td></tr>
<tr class="memdesc:gaad510f1a4ea26994b341c094ec4f4eed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a log of a quaternion.  <a href="a00219.html#gaad510f1a4ea26994b341c094ec4f4eed">More...</a><br /></td></tr>
<tr class="separator:gaad510f1a4ea26994b341c094ec4f4eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad382fc37392d537aecf2245a4597d8a3"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gad382fc37392d537aecf2245a4597d8a3"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gad382fc37392d537aecf2245a4597d8a3">pow</a> (tquat&lt; T, Q &gt; const &amp;x, T const &amp;y)</td></tr>
<tr class="memdesc:gad382fc37392d537aecf2245a4597d8a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns x raised to the y power.  <a href="a00219.html#gad382fc37392d537aecf2245a4597d8a3">More...</a><br /></td></tr>
<tr class="separator:gad382fc37392d537aecf2245a4597d8a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40788ce1d74fac29fa000af893a3ceb5"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga40788ce1d74fac29fa000af893a3ceb5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga40788ce1d74fac29fa000af893a3ceb5">quat_identity</a> ()</td></tr>
<tr class="memdesc:ga40788ce1d74fac29fa000af893a3ceb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an identity quaternion.  <a href="a00219.html#ga40788ce1d74fac29fa000af893a3ceb5">More...</a><br /></td></tr>
<tr class="separator:ga40788ce1d74fac29fa000af893a3ceb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga668d9ec9964ced2b455d416677e1e8b9"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga668d9ec9964ced2b455d416677e1e8b9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga668d9ec9964ced2b455d416677e1e8b9">quatLookAt</a> (vec&lt; 3, T, Q &gt; const &amp;direction, vec&lt; 3, T, Q &gt; const &amp;up)</td></tr>
<tr class="memdesc:ga668d9ec9964ced2b455d416677e1e8b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a look at quaternion based on the default handedness.  <a href="a00219.html#ga668d9ec9964ced2b455d416677e1e8b9">More...</a><br /></td></tr>
<tr class="separator:ga668d9ec9964ced2b455d416677e1e8b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f1b3fba52fcab952d0ab523177ff443"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga6f1b3fba52fcab952d0ab523177ff443"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga6f1b3fba52fcab952d0ab523177ff443">quatLookAtLH</a> (vec&lt; 3, T, Q &gt; const &amp;direction, vec&lt; 3, T, Q &gt; const &amp;up)</td></tr>
<tr class="memdesc:ga6f1b3fba52fcab952d0ab523177ff443"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a left-handed look at quaternion.  <a href="a00219.html#ga6f1b3fba52fcab952d0ab523177ff443">More...</a><br /></td></tr>
<tr class="separator:ga6f1b3fba52fcab952d0ab523177ff443"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad30cbeb78315773b6d18d9d1c1c75b77"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gad30cbeb78315773b6d18d9d1c1c75b77"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gad30cbeb78315773b6d18d9d1c1c75b77">quatLookAtRH</a> (vec&lt; 3, T, Q &gt; const &amp;direction, vec&lt; 3, T, Q &gt; const &amp;up)</td></tr>
<tr class="memdesc:gad30cbeb78315773b6d18d9d1c1c75b77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a right-handed look at quaternion.  <a href="a00219.html#gad30cbeb78315773b6d18d9d1c1c75b77">More...</a><br /></td></tr>
<tr class="separator:gad30cbeb78315773b6d18d9d1c1c75b77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49730f975e7f0ee3862a20b767aba583"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga49730f975e7f0ee3862a20b767aba583"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga49730f975e7f0ee3862a20b767aba583">rotate</a> (tquat&lt; T, Q &gt; const &amp;q, vec&lt; 3, T, Q &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga49730f975e7f0ee3862a20b767aba583"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns quarternion square root.  <a href="a00219.html#ga49730f975e7f0ee3862a20b767aba583">More...</a><br /></td></tr>
<tr class="separator:ga49730f975e7f0ee3862a20b767aba583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97a5f8af1d63056b85a53ac28042fe77"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga97a5f8af1d63056b85a53ac28042fe77"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga97a5f8af1d63056b85a53ac28042fe77">rotate</a> (tquat&lt; T, Q &gt; const &amp;q, vec&lt; 4, T, Q &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga97a5f8af1d63056b85a53ac28042fe77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotates a 4 components vector by a quaternion.  <a href="a00219.html#ga97a5f8af1d63056b85a53ac28042fe77">More...</a><br /></td></tr>
<tr class="separator:ga97a5f8af1d63056b85a53ac28042fe77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a729f33cbd904c9ca14cdf25d0a07e4"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga5a729f33cbd904c9ca14cdf25d0a07e4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga5a729f33cbd904c9ca14cdf25d0a07e4">rotation</a> (vec&lt; 3, T, Q &gt; const &amp;orig, vec&lt; 3, T, Q &gt; const &amp;dest)</td></tr>
<tr class="memdesc:ga5a729f33cbd904c9ca14cdf25d0a07e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the rotation between two vectors.  <a href="a00219.html#ga5a729f33cbd904c9ca14cdf25d0a07e4">More...</a><br /></td></tr>
<tr class="separator:ga5a729f33cbd904c9ca14cdf25d0a07e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0ad63ac791b1f9a587e363837c2d538"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gaf0ad63ac791b1f9a587e363837c2d538"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gaf0ad63ac791b1f9a587e363837c2d538">shortMix</a> (tquat&lt; T, Q &gt; const &amp;x, tquat&lt; T, Q &gt; const &amp;y, T const &amp;a)</td></tr>
<tr class="memdesc:gaf0ad63ac791b1f9a587e363837c2d538"><td class="mdescLeft">&#160;</td><td class="mdescRight">Quaternion interpolation using the rotation short path.  <a href="a00219.html#gaf0ad63ac791b1f9a587e363837c2d538">More...</a><br /></td></tr>
<tr class="separator:gaf0ad63ac791b1f9a587e363837c2d538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacfcb16619e166e672c4672aff50a565c"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gacfcb16619e166e672c4672aff50a565c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gacfcb16619e166e672c4672aff50a565c">squad</a> (tquat&lt; T, Q &gt; const &amp;q1, tquat&lt; T, Q &gt; const &amp;q2, tquat&lt; T, Q &gt; const &amp;s1, tquat&lt; T, Q &gt; const &amp;s2, T const &amp;h)</td></tr>
<tr class="memdesc:gacfcb16619e166e672c4672aff50a565c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute a point on a path according squad equation.  <a href="a00219.html#gacfcb16619e166e672c4672aff50a565c">More...</a><br /></td></tr>
<tr class="separator:gacfcb16619e166e672c4672aff50a565c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga433955cb703d982427fb53b540d02f3d"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga433955cb703d982427fb53b540d02f3d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 3, 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga433955cb703d982427fb53b540d02f3d">toMat3</a> (tquat&lt; T, Q &gt; const &amp;x)</td></tr>
<tr class="memdesc:ga433955cb703d982427fb53b540d02f3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a quaternion to a 3 * 3 matrix.  <a href="a00219.html#ga433955cb703d982427fb53b540d02f3d">More...</a><br /></td></tr>
<tr class="separator:ga433955cb703d982427fb53b540d02f3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1fa0fb798c2715148e2e0358442bf895"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga1fa0fb798c2715148e2e0358442bf895"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga1fa0fb798c2715148e2e0358442bf895">toMat4</a> (tquat&lt; T, Q &gt; const &amp;x)</td></tr>
<tr class="memdesc:ga1fa0fb798c2715148e2e0358442bf895"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a quaternion to a 4 * 4 matrix.  <a href="a00219.html#ga1fa0fb798c2715148e2e0358442bf895">More...</a><br /></td></tr>
<tr class="separator:ga1fa0fb798c2715148e2e0358442bf895"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae9be791077b7a612d9092a922bd13f86"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:gae9be791077b7a612d9092a922bd13f86"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#gae9be791077b7a612d9092a922bd13f86">toQuat</a> (mat&lt; 3, 3, T, Q &gt; const &amp;x)</td></tr>
<tr class="memdesc:gae9be791077b7a612d9092a922bd13f86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a 3 * 3 matrix to a quaternion.  <a href="a00219.html#gae9be791077b7a612d9092a922bd13f86">More...</a><br /></td></tr>
<tr class="separator:gae9be791077b7a612d9092a922bd13f86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c0a178ac9c7d23e1a6848045d83aa54"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
<tr class="memitem:ga6c0a178ac9c7d23e1a6848045d83aa54"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat&lt; T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00219.html#ga6c0a178ac9c7d23e1a6848045d83aa54">toQuat</a> (mat&lt; 4, 4, T, Q &gt; const &amp;x)</td></tr>
<tr class="memdesc:ga6c0a178ac9c7d23e1a6848045d83aa54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a 4 * 4 matrix to a quaternion.  <a href="a00219.html#ga6c0a178ac9c7d23e1a6848045d83aa54">More...</a><br /></td></tr>
<tr class="separator:ga6c0a178ac9c7d23e1a6848045d83aa54"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="a00219.html">GLM_GTX_quaternion</a> </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00148.html" title="Features that implement in C++ the GLSL specification as closely as possible. ">Core features</a> (dependence) </dd>
<dd>
gtx_extented_min_max (dependence) </dd></dl>

<p>Definition in file <a class="el" href="a00084_source.html">gtx/quaternion.hpp</a>.</p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
